package com.exercise;

import java.io.File;

public class Exercise05 {
    public static void main(String[] args) {
        String pathname = "D:\\aaa.txt";
        File file1 = new File(pathname);
        System.out.println(file1);
        System.out.println("------------");
        String parent = "d:\\aaa";
        String child = "bbb.txt";
        File file2 = new File(parent, child);
        System.out.println(file2);
    }


}
